package com.jic.veteran.mapper;

import com.jic.veteran.model.CmsArticleInfo;
import com.jic.veteran.model.CmsArticleInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CmsArticleInfoMapper {
    long countByExample(CmsArticleInfoExample example);

    int deleteByExample(CmsArticleInfoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsArticleInfo record);

    int insertSelective(CmsArticleInfo record);

    List<CmsArticleInfo> selectByExampleWithBLOBs(CmsArticleInfoExample example);

    List<CmsArticleInfo> selectByExample(CmsArticleInfoExample example);

    CmsArticleInfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsArticleInfo record, @Param("example") CmsArticleInfoExample example);

    int updateByExampleWithBLOBs(@Param("record") CmsArticleInfo record, @Param("example") CmsArticleInfoExample example);

    int updateByExample(@Param("record") CmsArticleInfo record, @Param("example") CmsArticleInfoExample example);

    int updateByPrimaryKeySelective(CmsArticleInfo record);

    int updateByPrimaryKeyWithBLOBs(CmsArticleInfo record);

    int updateByPrimaryKey(CmsArticleInfo record);
}
